package com.cc.services;

import java.util.List;
import java.util.Map;

import com.cc.models.User;

public interface UserServiceI {

	List<User> findAll();

	void addUser(User user);

	void delUserById(Integer userId);

	User findUserById(Integer userId);

	void updateUser(User user);
	
	List<User> findUserByParam(Map params);
	
	List<User> findUserWithPage(Map params);
	
	int countByParams(Map params);
}
